package com.yitongmao.bean;

import org.litepal.crud.DataSupport;

import java.util.List;

/*
* 作者：梁伟航 on 2017/7/13 18:46
* 类的用途：
*/
public class HomeListBean extends DataSupport{
    public ResultBean result;
    public List<GoodsListBean> goodsList;
    public List<?> seasonalList;
    public List<IndexBannerListBean> indexBannerList;
    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public List<GoodsListBean> getGoodsList() {
        return goodsList;
    }

    public void setGoodsList(List<GoodsListBean> goodsList) {
        this.goodsList = goodsList;
    }

    public List<?> getSeasonalList() {
        return seasonalList;
    }

    public void setSeasonalList(List<?> seasonalList) {
        this.seasonalList = seasonalList;
    }

    public List<IndexBannerListBean> getIndexBannerList() {
        return indexBannerList;
    }

    public void setIndexBannerList(List<IndexBannerListBean> indexBannerList) {
        this.indexBannerList = indexBannerList;
    }

    public static class ResultBean {
        public String state;
        public String code;
        public Object url;
        public Object obj;
        public String message;

        @Override
        public String toString() {
            return "ResultBean{" +
                    "state='" + state + '\'' +
                    ", code='" + code + '\'' +
                    ", url=" + url +
                    ", obj=" + obj +
                    ", message='" + message + '\'' +
                    '}';
        }
    }

    public static class GoodsListBean extends DataSupport{

        public int id;
        public double retailPrice;
        public String describes;
        public String state;
        public String subtitle;
        public String thumb;
        public String retailUnit;
        public String goodsName;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public double getRetailPrice() {
            return retailPrice;
        }

        public void setRetailPrice(double retailPrice) {
            this.retailPrice = retailPrice;
        }

        public String getDescribes() {
            return describes;
        }

        public void setDescribes(String describes) {
            this.describes = describes;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public String getSubtitle() {
            return subtitle;
        }

        public void setSubtitle(String subtitle) {
            this.subtitle = subtitle;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getRetailUnit() {
            return retailUnit;
        }

        public void setRetailUnit(String retailUnit) {
            this.retailUnit = retailUnit;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        @Override
        public String toString() {
            return "GoodsListBean{" +
                    "id=" + id +
                    ", retailPrice=" + retailPrice +
                    ", describes='" + describes + '\'' +
                    ", state='" + state + '\'' +
                    ", subtitle='" + subtitle + '\'' +
                    ", thumb='" + thumb + '\'' +
                    ", retailUnit='" + retailUnit + '\'' +
                    ", goodsName='" + goodsName + '\'' +
                    '}';
        }
    }

    public static class IndexBannerListBean {

        public String position;
        public int id;
        public String picUrl;
        public String jumpUrl;

        @Override
        public String toString() {
            return "IndexBannerListBean{" +
                    "position='" + position + '\'' +
                    ", id=" + id +
                    ", picUrl='" + picUrl + '\'' +
                    ", jumpUrl='" + jumpUrl + '\'' +
                    '}';
        }
    }
}
